﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Automted_Bank_teller;
using NUnit.Framework;

namespace Project_Tester
{
    [TestFixture]
    class AdminLogin_Tester
    {
        [Test]
        public void Set_data_for_AdminLogin_withNormalParameters()
        {
            AdminLogin_Logic admnLogin = new AdminLogin_Logic();
            bool actual = admnLogin.Set_data_for_AdminLogin("ahmed","12345");
            bool expected = true;
            Assert.AreEqual(expected,actual,"error in normal parameter");
        }

        [Test]
        public void Set_data_for_AdminLogin_withBoundaryParameters()
        {
            AdminLogin_Logic admnLogin1 = new AdminLogin_Logic();
            bool actual = admnLogin1.Set_data_for_AdminLogin("", "");
            bool expected = false;
            Assert.AreEqual(expected, actual, "error in normal parameter");
        }

        [Test]
        public void Set_data_for_AdminLogin_withOUTBoundaryParameters()
        {
            AdminLogin_Logic admnLogin2 = new AdminLogin_Logic();
            bool actual = admnLogin2.Set_data_for_AdminLogin(null,null);
            bool expected = false;
            Assert.AreEqual(expected, actual, "error in out boundary parameter");

        }


    }
}
